#ifndef _VITRIYEUTHICHFORM_H_
#define _VITRIYEUTHICHFORM_H_

#include <FBase.h>
#include <FUi.h>

class ViTriYeuThichForm: public Osp::Ui::Controls::Form,
	public Osp::Ui::IActionEventListener{

	// Construction
public:
	ViTriYeuThichForm(void);
	virtual ~ViTriYeuThichForm(void);
	bool Initialize();
	result OnInitializing(void);
	result OnTerminating(void);

	// Implementation
protected:
	Osp::Ui::Controls::Frame*pFrame;
	Osp::Ui::Controls::Form *pFormParent;
	// Generated call-back functions
	static const int ID_SOFTKEY_OK=101;
	static const int ID_SOFTKEY_BACK=102;
	static int FormId;

public:
	void SetFormId(int id){
		FormId = id;
	}

	static int GetFormId(){
		return FormId;
	}
public:
	virtual void
				OnActionPerformed(const Osp::Ui::Control& source, int actionId);
	Osp::Ui::Controls::EditField*pEditFieldTieuDe;
	Osp::Ui::Controls::EditArea*pEditFieldChuThich;
	void SetParentForm(Osp::Ui::Controls::Form*pParent);
	void SetFrame(Osp::Ui::Controls::Frame*pFrame);
	void ThucHienLuuDuLieuVaoFile();

};

#endif
